﻿@using WHLRDF.Application.Model;
@{

    ViewData["Title"] = "页面权限 管理";
    Layout = null;

}
@model List<ActionsEntity>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">系统按钮</h4>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">

            <div class="table-responsive">
                <table class="table table-striped table-bordered table-hover dataTables" id="actionGrid">
                    <thead>
                        <tr>
                            <td class="text-center">
                                <div class="i-checks checkItem">
                                    <label> <input type="checkbox" class="thead " title="全选" /></label>
                                </div>
                            </td>
                            <td class="text-center">标识</td>
                            <td class="text-center"> 名称</td>
                        </tr>

                    </thead>
                    <tbody>
                        @{
                            if (Model != null && Model.Count > 0)
                            {
                                foreach (var item in Model)
                                {
                                    <tr>
                                        <td class="text-center">
                                            <div class="i-checks checkItem">
                                                <label> <input type="checkbox" value="@(item.ActionId+"|"+item.ActionName+"|"+item.LocalName)" /></label>
                                            </div>
                                        </td>
                                        <td class="text-center">@item.ActionName</td>
                                        <td class="text-center"> @item.LocalName</td>
                                    </tr>
                                }
                            }

                        }

                    </tbody>
                    <tfoot>

                        <tr>
                            <td class="text-center">
                                <div class="i-checks">
                                    <label> <input type="checkbox" class="tfoot checkall" title="全选" /></label>
                                </div>
                            </td>
                            <td class="text-center">按钮权限</td>
                            <td class="text-center"> 名称</td>
                        </tr>
                    </tfoot>
                </table>
            </div>

        </div>
    </div>
</div>
<div class="modal-footer">

</div>
